//
//  BKFileViewMoveModel.h
//  BukaLive
//
//  Created by 曹飞 on 2017/12/9.
//  Copyright © 2017年 曹飞. All rights reserved.
//
//rpc  4031
#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,DocAction) {
    DocMove = 0,  //文档移动
    DocFull,  //文档全屏
    
};

@interface BKFileViewMoveModel : NSObject

@property (nonatomic,strong) NSString * ID; //文档唯一标识
@property (nonatomic,assign) DocAction action;
@property (nonatomic,assign) int x;
@property (nonatomic,assign) int y;
@property (nonatomic,assign) int width;
@property (nonatomic,assign) int height;
@property (nonatomic,assign) int pWidth; //白板区域的实际宽，用于等比例计算
@property (nonatomic,assign) int pHeight; //
@property (nonatomic,assign) BOOL full; // 是否全屏，action为DocFull时处理 文档全屏，full为true，zs为文档的z轴顺序，如果文档最小化，全部变成最大化状态
@property (nonatomic,assign) BOOL min; //是否为最小化，true为最小化，当为false时所有最小化的文档都恢复
@property (nonatomic,assign) BOOL partial;//是否为局部最大化。当full为ture时，partial为false。z轴复用zs

@property (nonatomic,strong) NSString * zs; //z轴排序，map，key为id，value为z，从0开始，0代表置顶，当DocFull时解析 ,当action为DocMove 时快照字段传docpos_id，当DocFull时快照id为docsmain，内容包含是否为全屏和z轴
@property (nonatomic,strong) NSString * minzs;



@end



@interface BKZSModel :NSObject

@property (nonatomic,strong) NSString *ID; //文档id
@property (nonatomic,assign) int z;  //0开始，最上层

@end
